
package com.jf.cloud.multishop.model;

import com.jf.cloud.common.model.BaseModel;

import java.io.Serializable;
/**
 * 商家钱包信息
 *
 * @author zz
 * @date 2021-01-07 16:41:03
 */
public class ShopWallet extends BaseModel implements Serializable{
    private static final long serialVersionUID = 1L;

    /**
     * 店铺钱包id
     */
    private Long shopWalletId;

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     * 未结算金额（用户支付）
     */
    private Long unsettledAmount;

    /**
     * 已结算金额（用户确认收货后，可以提现）
     */
    private Long settledAmount;

    /**
     * 冻结金额（用户确认收货）
     */
    private Long freezeAmount;

    /**
     * 累积结算金额
     */
    private Long totalSettledAmount;

    /**
     * 可用短信数量
     */
    private Integer smsNum;

    /**
     * 分成片的数量0.未分片,10,100
     */
    private Integer zoneNum;

    /**
     * 乐观锁
     */
    private Long version;

    public Long getShopWalletId() {
        return shopWalletId;
    }

    public void setShopWalletId(Long shopWalletId) {
        this.shopWalletId = shopWalletId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getUnsettledAmount() {
        return unsettledAmount;
    }

    public void setUnsettledAmount(Long unsettledAmount) {
        this.unsettledAmount = unsettledAmount;
    }

    public Long getSettledAmount() {
        return settledAmount;
    }

    public void setSettledAmount(Long settledAmount) {
        this.settledAmount = settledAmount;
    }

    public Long getFreezeAmount() {
        return freezeAmount;
    }

    public void setFreezeAmount(Long freezeAmount) {
        this.freezeAmount = freezeAmount;
    }

    public Long getTotalSettledAmount() {
        return totalSettledAmount;
    }

    public void setTotalSettledAmount(Long totalSettledAmount) {
        this.totalSettledAmount = totalSettledAmount;
    }

    public Integer getSmsNum() {
        return smsNum;
    }

    public void setSmsNum(Integer smsNum) {
        this.smsNum = smsNum;
    }

    public Integer getZoneNum() {
        return zoneNum;
    }

    public void setZoneNum(Integer zoneNum) {
        this.zoneNum = zoneNum;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "ShopWallet{" +
                "shopWalletId=" + shopWalletId +
                ", shopId=" + shopId +
                ", unsettledAmount=" + unsettledAmount +
                ", settledAmount=" + settledAmount +
                ", freezeAmount=" + freezeAmount +
                ", totalSettledAmount=" + totalSettledAmount +
                ", smsNum=" + smsNum +
                ", zoneNum=" + zoneNum +
                ", version=" + version +
                '}';
    }
}
